package com.example.entity.drugDTO;

import lombok.Data;

@Data
/**
 * 封装患者病症
 */
public class DrugMatchingRequest {
    private String gender;
    private int age;
    private String symptom;
    private String allergy;
    private double temperature;

    public DrugMatchingRequest(String gender, int age, String symptom, String allergy, double temperature) {
        this.gender = gender;
        this.age = age;
        this.symptom = symptom;
        this.allergy = allergy;
        this.temperature = temperature;
    }

    public String getGender() { return gender; }
    public int getAge() { return age; }
    public String getSymptom() { return symptom; }
    public String getAllergy() { return allergy; }
    public double getTemperature() { return temperature; }
}

